package com.core.family.admin.domain.req;

import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

import com.core.common.gen.BaseQuery;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @author honglei
 * @version 1.0
 * @time: 2023-6-14 17:05:09
 * @Description dto对象 支付流水
 */
@Data
public class SysFinanceReq extends BaseQuery implements Serializable {


    /*
     *
     */
    private Integer id;

    /*
     *
     */
    private Integer orgId;

    /*
     *  用户id
     */
    private Integer userId;

    /*
     *  用户名
     */

    private String userName;

    /*
     *  收入、支出、退款、充值、划拨、保证金、转账收入、转账支出，提现
     */

    private String type;

    /*
     *  关联订单id
     */
    private Integer orderId;

    /*
     *  金额
     */
    private BigDecimal price;

    /*
     *  余额
     */

    private String balance;

    /*
     *  支付方式：微信支付宝现金银联
     */

    private String payType;

    /*
     *  支付时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date payTime;

    /*
     *  付款方名称
     */

    private String payName;

    /*
     *  支付流水
     */
    private Integer payNo;

    /*
     *  支付序列号(第三方流水)
     */

    private String paySn;

    /*
     *
     */

    private String status;

    /*
     *
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /*
     *
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    /*
     *
     */

    private String auditStatus;

}
